package org.jeecg.modules.flow.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@ApiModel("历史任务Vo")
public class HistoryTaskInstanceVo implements Serializable {

    @ApiModelProperty(value = "任务ID")
    private String taskId;
    @ApiModelProperty(value = "流程实例ID")
    private String processInstanceId;
    @ApiModelProperty(value = "流程定义ID")
    private String processDefinitionId;
    @ApiModelProperty(value = "流程定义KEY")
    private String processDefinitionKey;
    @ApiModelProperty(value = "任务执行ID")
    private String executionId;
    @ApiModelProperty(value = "任务名称")
    private String name;
    @ApiModelProperty(value = "任务办理人（ID）")
    private String assignee;
    @ApiModelProperty(value = "任务定义key")
    private String taskDefinitionKey;
    @ApiModelProperty(value = "任务删除原因")
    private String deletedReason;
    @ApiModelProperty(value = "任务拾取时间")
    private Date claimTime;
    @ApiModelProperty(value = "任务开始时间")
    private Date startTime;
    @ApiModelProperty(value = "任务结束时间")
    private Date endTime;
    @ApiModelProperty(value = "任务持续时间")
    private Long dueTime;
    @ApiModelProperty(value = "业务key")
    private String businessKey;

}
